package com.pengpeng.sheepfoldmall.product.dao;

import com.pengpeng.sheepfoldmall.product.entity.AttrAttrgroupRelationEntity;
import com.pengpeng.sheepfoldmall.product.entity.AttrGroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pengpeng.sheepfoldmall.product.vo.AttrAttrRelationVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 * 
 * @author pengpeng
 * @email pengpeng@gmail.com
 * @date 2023-08-30 15:43:37
 */
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {


    /**
     * 移除属性与属性分组的关联关系(可能是批量删除,所以参数是一个数组)
     * @param collect
     */
    void deleteBatchRelation(@Param("list") List<AttrAttrgroupRelationEntity> collect);

}
